package com.qc.ayouth.shop.core.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "ayouth-shop.common")
public class AyouthShopConfig {

    /**
     * 文件上传目录
     */
    public String uploadPath;

//    /**
//     * 第三方对象存储
//     */
//    public ThinkCmsConfig.oss oss = new ThinkCmsConfig.oss();
//
//    @Data
//    public static class oss{
//
//        private String accessKey;
//
//        private String secretKey ;
//
//        private String endpoint;
//
//        private String bucket ;
//
//        private String prefix;
//    }
}
